package com.upcode.weighing.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.upcode.weighing.base.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 区域
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class SysArea extends BaseEntity {
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id;//id
    private String parentId;//父级ID
    private String adcode;//区域编码
    private String citycode;//城市编码
    private String longitude;//经度
    private String latitude;//纬度
    private String name;//行政区名称
    private Integer level;//等级

}
